home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / program / amos / amoslist.lzh / AMOSLIST / 000358_amos-request@svcs1.digex.net_Wed Sep 27 11:55:48 1995.msg < prev    next >
Internet Message Format  |  1995-10-02  |  2KB

  1. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224]) by mail1.access.digex.net (8.6.12/8.6.12) with ESMTP id LAA29008;  for <mcox@access.digex.net> ; Wed, 27 Sep 1995 11:55:47 -0400
  2. Received: (from daemon@localhost) by svcs1.digex.net (8.6.12/8.6.12) id IAA06000 for amos-out; Wed, 27 Sep 1995 08:55:20 -0400
  3. Received: from mail1.access.digex.net (mail1.access.digex.net [205.197.247.2]) by svcs1.digex.net (8.6.12/8.6.12) with ESMTP id IAA05997 for <amos-list@svcs1.digex.net>; Wed, 27 Sep 1995 08:55:19 -0400
  4. Received: from agora.stm.it (agora.stm.it [194.20.43.3]) by mail1.access.digex.net (8.6.12/8.6.12) with SMTP id IAA06164;  for <AMOS-LIST@ACCESS.DIGEX.NET> ; Wed, 27 Sep 1995 08:55:16 -0400
  5. From: M.Berionne@agora.stm.it
  6. To: AMOS-LIST@access.digex.net
  7. Subject: Re: Help Me!!
  8. Date: Wed,  27 Sep 95 13:52:11 GMT
  9. Message-ID:  <9509271355.aa19267@agora.stm.it>
  10. Status: RO
  11. X-Status: 
  12.  
  13.  
  14.  
  15.  > AT LAST! An interesting problem!
  16.  
  17. Thank you!!   :-))
  18.  
  19.  > This should do it:
  20.  
  21.  > Procedure _PART_OF_CIRCLE[R,A,B,X,Y,STP]
  22.  >   Gr Locate X+Sin(A)*R,Y-Cos(B)*R
  23.  >   For N=A+STP To A+B Step STP
  24.  >     Draw To X+Sin(N)*R,Y-Cos(N)*R
  25.  >   Next N
  26.  > EndProc
  27.  
  28.  > Where:
  29.  > R=Radius
  30.  > A=Start angle
  31.  > B=Degrees to rotate
  32.  > X+Y=Centre of circle
  33.  > STP=Accuracy (small=slow but accurate, large=fast but less accurate)
  34.  >     Use about 4-5, depending on the size of the circle.
  35.  
  36. Thank you very much!!
  37. It works very well, but please: REMEMBER "DEGREE"!!
  38. Otherwise Amos will use Radian angles and... I tried it: it produces a very
  39. nice and funny thing: like a star!!
  40. It could be another nice proc...
  41.  
  42. Bye
  43.  
  44. P.S.:I want to thank also all the other people who replied, telling me how
  45. to make it faster and faster!!
  46.  
  47.  
  48.  
  49.  
  50. ----*          Bomb!    Versione non registrata !!           *----
  51.